package interfacekeyword;

/**
 * @License: (C) Copyright 2013-2022
 * @Contact: abcque@outlook.com
 * @IDE: IntelliJ IDEA
 * @Encoding: utf-8
 * @Project: st2214st2215
 * @Package: interfacekeyword
 * @File: ComparableRectangleTest.java
 * @Time: 2023/3/28 15:11
 * @Author: abcque
 * @Description:
 * @Modifier:
 * @ModifyDate:
 * @ModifyRemark:
 */
public class ComparableRectangleTest {
    public static void main(String[] args) {
        ComparableRectangle r1 = new ComparableRectangle(1, 2);
        ComparableRectangle r2 = new ComparableRectangle(2, 1);

        System.out.println(r1.compareTo(r2));
    }
}
